package com.jxc.dao.admin;

import java.util.List;
import java.util.Map;

import com.jxc.entity.admin.Sell;
import com.jxc.entity.admin.SellDetail;
import org.springframework.stereotype.Repository;


/**
 * 销售单dao
 */
@Repository
public interface SellDao {
    int addDetail(SellDetail sellDetail);

    int add(Sell sell);

    int edit(Sell sell);

    List<Sell> findList(Map<String, Object> queryMap);

    Integer getTotal(Map<String, Object> queryMap);

    int delete(Long id);

    List<Map<String, String>> getStats(String date);
}
